using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BlueFinity.mvNET.CoreObjects;
using mvLibrary.Helpers.Utils;

namespace fenk.Proveedores
{
    public partial class CostoCompuestoODC : mvLibrary.BaseForm
    {
        public CostoCompuestoODC()
        {
            InitializeComponent();
        }

        private void CostoCompuestoODC_Load(object sender, EventArgs e)
        {
            toolBox.Visible = false;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (mvTextBox1.Text == "")
            {
                MessageBox.Show("Falta indicar ODC");
                mvTextBox1.Focus();
                return;
            }
            CallProgram("CONS.ODC.CC", 1, 1);
            textBox1.Text = DataBASIC.Convert(AplicData.ExtractAsString(1), DataBASIC.VM, DataBASIC.CRLF);
            mvTextBox1.Focus();
        }
    }
}

